docs: offchain canister calls guide#92
Conversation
Review: Offchain CallsMust fix
Suggestions
Verified
|
- Fix misleading "Optional" query response verification cell — HttpAgent verifies node key signatures by default (verifyQuerySignatures: true) - Unify CanisterEnv pattern: use local interface + generic throughout, replacing the declare module augmentation in the Canister discovery section; matches the icp-cli-templates hello-world template - Fix misleading rootKey comment: IC root key is embedded in the agent for mainnet; rootKey override is for non-standard networks only - Fix vite.config root key comment: change to 'placeholder' wording to avoid implying icp network start prints it (not in CLI reference) - Add Node.js mainnet comment: explain why shouldFetchRootKey is absent - Add Rust call_and_wait comment: clarify it polls until response is certified
|
<!-- feedback-addressed --> Feedback addressedChanges appliedMust fix — Query response verification table cell
Must fix — Inconsistent CanisterEnv pattern
Must fix — Misleading rootKey comment on mainnet
Suggestion — vite.config root key comment
Suggestion — Node.js mainnet snippet
Suggestion — Rust call_and_wait clarification
Items skippedNone. All feedback items were verified against |
Summary
Sync recommendation
informed by dfinity/icp-cli — docs/concepts/canister-discovery.md; dfinity/icp-js-sdk-docs — public/core/latest.zip